<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/include/TLDInclude.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript">
$(function(){	
	//顶部导航切换
	$(".nav li a").click(function(){
		$(".nav li a.selected").removeClass("selected")
		$(this).addClass("selected");
	})	
})	
</script>


</head>

<body style="background:url(${ctx}/images/topbg.gif) repeat-x;">

    <div class="topleft">
    <a href="${ctx}/" target="_parent"><img src="${ctx}/images/logo.png" title="系统首页" /></a>
    </div>
        
    <ul class="nav">
    <li><a href="${ctx}/account/main" target="rightFrame" class="selected"><img src="${ctx}/images/icon01.png" title="个人帐户" /><h2>个人帐户</h2></a></li>
   <li><a href="${ctx}/lkrecord" target="rightFrame"><img src="${ctx}/images/icon03.png" title="抽奖记录" /><h2>抽奖记录</h2></a></li>
    <c:if test= "${1 ne  user.userLevel}">
    <li><a href="${ctx}/activity" target="rightFrame"><img src="${ctx}/images/icon06.png" title="活动管理" /><h2>活动管理</h2></a></li>
    <li><a href="${ctx}/message" target="rightFrame"><img src="${ctx}/images/icon01.png" title="公告管理" /><h2>公告管理</h2></a></li>
    </c:if>
     <c:if test= "${8 eq  user.userLevel}">
     <li><a href="${ctx}/user"  target="rightFrame"><img src="${ctx}/images/icon02.png" title="用户管理" /><h2>用户管理</h2></a></li>
     </c:if>
    <!--  <li><a href="../data/findthirdLive"  target="rightFrame"><img src="../images/icon04.png" title="公司管理" /><h2>个人帐户</h2></a></li> -->
    </ul>
            
          
    <div class="topright">    
    <ul>
    <li><span><img src="${ctx}/images/help.png" title="帮助"  class="helpimg"/></span><a href="#">帮助</a></li>
    <li><a href="#">关于</a></li>
    <li><a href="${ctx}/account/out" target="_parent">退出</a></li>
    </ul>
     
    <div class="user">
    <span>${user.userName}</span>
    </div>    
    
    </div>

</body>
</html>
